<?php

class Email
{
	function mail_utf8($to, $subject = '(No subject)', $message = '', $header = '') {
	  $header_ = 'MIME-Version: 1.0' . "\r\n" . 'Content-type: text/html; charset=UTF-8' . "\r\n";
	  mail($to, '=?UTF-8?B?'.base64_encode($subject).'?=', $message, $header_ . $header);
	}
}

?>